/*
 * @Author: article模块接口列表
 * @Date: 2020-11-28 17:54:04
 * @LastEditTime: 2020-11-28 17:55:39
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: /example-demo/src/utils/http/article.js
 */

import axios from './http'; // 导入http中创建的axios实例
import qs from 'qs'; // 根据需求是否导入qs模块

const send = {
  success() {
    return axios.get('https://mock.apifox.cn/m1/2754975-0-default/success');
  },
  error() {
    return axios.post('https://mock.apifox.cn/m1/2754975-0-default/error', { id: 1, name: 'jack' });
  },
};

export default send;
